/**
 * Copyright 2005 The Apache Software Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.edi.runtime.Event
{
	import flash.events.Event;
	/**
	 * 基础资料窗口中选中一个资料或删除一个已选择的资料触发
	 * 
	 */
	public class EDIBasicDataEvent extends Event
	{
		/**
		 * 新选择标志
		 */		
		public static const Data_Insert:String = "Data_Insert";
		/**
		 * 删除标志
		 */		
		public static const Data_Delete:String = "Data_Delete";
		
		public static const Data_Delete_Render:String = "Data_Delete_Render";
		/**
		 * 单个触发基础资料的数据，以object形式保存
		 */
		private var _value:Object;
		
		public function EDIBasicDataEvent(type:String,bubbles:Boolean=false)
		{
			super(type,bubbles);
		}
		public function set value(val:Object):void{_value=val;}
		public function get value():Object{return _value}
	}
}